package com.smedi.ismedi.dangeroussourcemanage.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 根据条件分页获取危险源库数据
 *
 * @author xienannan
 * @date 2021/08/23
 */
@Data
@ApiModel(value = "根据条件获取危险源库数据")
public class QueryDangerousSourceLibraryPageListRequest {
    @ApiModelProperty(value = "工程类别")
    private String engineeringCategory;

    @ApiModelProperty(value = "施工阶段")
    private String constructionPhase;

    @ApiModelProperty(value = "当前页码", example = "1", required = true)
    @NotNull(message = "当前页码不能为空")
    private Long pageNum;

    @ApiModelProperty(value = "每页行数", example = "10", required = true)
    @NotNull(message = "每页行数不能为空")
    private Long pageSize;
}
